package top.idcard.agent.biz.rw.write.server;

import top.idcard.agent.biz.entity.Certification;
import top.idcard.agent.biz.rw.write.AbstractWrite;

/**
 * @author wx
 * @version 1.0
 * @date 2021/2/8 5:40 下午
 */
public class RemoteServerWrite extends AbstractWrite<Certification> {

    @Override
    protected void init() {

    }

    @Override
    public byte[] translateBytes(Certification certification) {
        return certification.getBytes();
    }

    @Override
    public void write(byte[] data) {

    }

    @Override
    public void close() {

    }

    @Override
    public String dataFrom() {
        return "local_server";
    }
}
